package com.example.demo33.entity;

import java.math.BigDecimal;

public class Stats {
    private int totalItems;        // 总饰品数量
    private int totalSoldItems;    // 已售出总数量
    private BigDecimal totalProfit; // 总盈利
    
    // 构造函数、Getter和Setter方法
    public Stats() {}
    
    public Stats(int totalItems, int totalSoldItems, BigDecimal totalProfit) {
        this.totalItems = totalItems;
        this.totalSoldItems = totalSoldItems;
        this.totalProfit = totalProfit;
    }
    
    // Getters and Setters
    public int getTotalItems() {
        return totalItems;
    }
    
    public void setTotalItems(int totalItems) {
        this.totalItems = totalItems;
    }
    
    public int getTotalSoldItems() {
        return totalSoldItems;
    }
    
    public void setTotalSoldItems(int totalSoldItems) {
        this.totalSoldItems = totalSoldItems;
    }
    
    public BigDecimal getTotalProfit() {
        return totalProfit;
    }
    
    public void setTotalProfit(BigDecimal totalProfit) {
        this.totalProfit = totalProfit;
    }
}